﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace SARUserControls
{
    /// <summary>
    /// Interaction logic for SAR_BtnBlueLabel.xaml
    /// </summary>
    public partial class SAR_BtnBlueLabel : UserControl
    {
        public SAR_BtnBlueLabel()
        {
            InitializeComponent();
        }
        private string windowsTxt;

        //属性WindowsTxt，Label显示文本
        public string SARWindowsTxt
        {
            get
            {
                windowsTxt = this.SARTextField.Text;
                return windowsTxt;
            }
            set
            {
                windowsTxt = value;
                this.SARTextField.Text = windowsTxt;
            }
        }

        public double SARFontSize
        {
            get
            {
                return this.SARTextField.FontSize;
            }
            set
            {
                this.SARTextField.FontSize = value;
            }
        }

        public FontWeight SARFontWeight
        {
            get
            {
                return this.SARTextField.FontWeight;
            }
            set
            {
                this.SARTextField.FontWeight = value;
            }
        }
    }
}
